//
//  ShopCard.m
//  PigMarket
//
//  Created by 张敬 on 2019/7/16.
//  Copyright © 2019年 pigmarket.oc. All rights reserved.
//

#define selfH 266.0f

#import "MeatMarketShopCard.h"

@implementation MeatMarketShopCard

#pragma mark - lifecycle methods

- (void)setupUI{
    
    self.meatBuyUI.view = self;
}


- (void)setupLayout{
    
    self.height = selfH;
    self.width = (KScreenWidth - 40)/2.0;
    self.meatBuyUI.type = MeatBuyListUILayoutType_Vertical;
}


#pragma getter methods

- (MeatBuyListUIComponent *)meatBuyUI{
    
    if (!_meatBuyUI) {
        _meatBuyUI = [[MeatBuyListUIComponent alloc] init];
    }
    return _meatBuyUI;
}


@end
